<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Main extends Admin_controller {

    /**
     * 
     * Index Page for admin
     * 
     * 
     */
    public function index() {
        
        $this->_load_view('admin/main_view');
        
    }
    
    public function logout(){
        $this->session->sess_destroy();
        redirect('admin');
    }

}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */